package com.duan.goods.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.duan.Main;
import com.duan.goods.pojo.Brand;
import com.github.pagehelper.Page;

import java.util.List;
import java.util.Map;

/**
* @author lenovo
* @description 针对表【goods_brand(品牌表)】的数据库操作Service
* @createDate 2024-07-27 16:39:46
*/
public interface BrandService extends IService<Brand> {
    List<Brand> selectAll();

    Integer insert(Brand brand);

    Integer update(Brand brand);

    Integer delete(String ids);

    Integer status(Long id);

    Integer status(Long id, Integer status);

    List<Brand> selectList(Brand brand);

    Page<Brand> findPage(Integer page, Integer size);

    Page<Brand> pageList(Brand brand, Integer page, Integer size);

    List<Map> findListByCategoryName(String categoryName);
}
